home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Directorty Opus 5 - Magellan 2
/
Opus 5 - Magellan 2.iso
/
DOpus_Install
/
Core
/
Storage
/
Modules
/
arcbrowse.dopus5
next >
Wrap
Text File
|
1996-11-04
|
925b
|
36 lines
/*
$VER: arcbrowse.dopus5 1.0 (10.07.96)
Example of an 'arexx module'. This program adds a "Browse" command to Opus,
and also installs a PopUpExtension to add a 'Browse' item to LHA and LZX
popup menus. When the user selects the Browse option, ArcDir is automatically
started in Browse mode.
This program must go in the DOpus5:Modules directory. It requires
ArcDir.dopus5 by Edmund Vermeulen to be in DOpus5:ARexx.
The "Browse" command is added as private, meaning it will not show up in
the command list.
*/
parse arg portname ' ' function ' ' source ' ' dest ' ' filename
address value portname
options results
/* Initialise */
if function='init' then do
dopus command "Browse" program "arcbrowse" 'source' ext 'Browse...' type L?? private
exit
end
/* Browse function */
if function='Browse' then do
dopus rx 'DOpus5:ARexx/ArcDir.dopus5 Browse' portname filename source
exit
end